/**
 * 自动通知管理初始化
 */
var table1 = {
    id: "T2",	//表格id
    seItem: null,		//选中的条目
    table: null,
    layerIndex: -1
};

//打印出库
function openPrint() {

    window.print();


}


var aTable = null
var mTable = null;
$(function () {

    layui.use('table', function(){
        var table = layui.table;
        table.render({
            elem: '#T2'
            ,url:Feng.ctxPath+"/tOrder/uDataList?ids=" + $('#ids').val(),
            page:false
            ,size: 'sm'
            ,cols: [[
                {field:'original_num', width:90, title: '单号'}
                ,{field:'send_dept_name', width:75, title: '发货人'}
                // ,{field:'consignee', width:75, title: '收货人'}
                ,{field:'goods_name', width:85, title: '货物名称'}
                ,{field:'goods_piece', width:60, title: '件数'}
                ,{field:'goods_weight', title: '重量',width:55} //minWidth：局部定义当前单元格的最小宽度，layui 2.2.1 新增
                ,{field:'goods_volume', title: '立方',width:55}
                ,{field:'days', title: '库存时长',width:75}
                ,{field:'payment', width:60, title: '提付'}
                ,{field:'collection', width:85, title: '代收货款' }
                ,{field:'extra_money', width:75, title: '落地费' }
                ,{field:'c', width:75, title: '中转费' }
                ,{field:'d', width:75, title: '送货费' }
                ,{field:'e', width:75, title: '搬运费' }
                // ,{field:'g', width:80, title: '备注' }
            ]]
        });
    });



});